package com.ay.weixin.fdc.front.scratchcard.db;

import java.sql.SQLException;
import java.util.List;

import lizar.db.ibatis.Dao;

import com.ay.weixin.fdc.front.scratchcard.domain.ScratchReward;

public class ScratchRewardDao extends Dao {
	
	public List<ScratchReward> getRewards(long scratch_card_id) throws SQLException{
		
		return (List<ScratchReward>)this.sqlMapper.queryForList("scratch_reward.getRewards",scratch_card_id);
		
	}
	
}
